﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Acme.BookStore.Goods
{
    /// <summary>
    /// 商品展示
    /// </summary>
    public class GoodsDTO
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 商品类型名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 商品类型编号
        /// </summary>
        public Guid GoodsTypeId { get; set; }
        /// <summary>
        /// 销售价
        /// </summary>
        public decimal SalesPrice { get; set; }
        /// <summary>
        /// 剩余库存
        /// </summary>
        public int Remaining { get; set; }
        /// <summary>
        /// 实际销量
        /// </summary>
        public int Actual { get; set; }
    }
}
